/* includes ---------------------------------------------------------------------------------------------------------*/
//#include <FreeRTOS.h>
#include "common/qlcommon.h"
#include "drivers/modem/qlmodem/include/qlmodemdef.h"
#include "drivers/modem/qlmodem/task_modem.h"

#define QLSDK_MODEM_TASK_USE
#ifdef DA35D1C10_C
#warning "building modem with EG9165"
#define QLSDK_MODEM_DEVICE_NAME (MDM_EG915U)
#else
#warning "building modem with BG95"
#define QLSDK_MODEM_DEVICE_NAME (MDM_BG95)
#endif
#define QLSDK_MODEM_WIFI_SCAN
#define QLSDK_MODEM_QCELLSCAN_USE
#define QLSDK_MODEM_ESIM_USE
#define QLSDK_MODEM_QCELLSCAN_USE           /* 开启小区搜索功能 */

/* dataRetry参数配置 */
const nfm_arguments nfm_args = {0,0,60,60,120,240,480,600};
#define QLSDK_MODEM_NFM_ARGS nfm_args

/* 开启手动注册 */
#define QLSDK_MODEM_MANUAL_REG_USE
extern bool opr_manual_mgr_enable(void);
static struct opr_manual_mgr mdm_opr_manual_mgr = { \
	.enable = opr_manual_mgr_enable, \
	.get_tof = NULL, \
};

#define QLSDK_MODEM_MANUAL_PTR &mdm_opr_manual_mgr

#ifdef QLSDK_MODEM_TASK_USE
extern const struct modem_pins pins;
extern const struct modem_uart uart;
extern const struct modem_mgr mmgr;
#define QLSDK_MODEM_PINS_PTR &pins
#define QLSDK_MODEM_UART_PTR &uart
#define QLSDK_MODEM_MANAGE_PTR &mmgr
#endif

#include "qlmodemconfdefs.h"
